home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / ep15.zip / EP.DOC < prev    next >
Text File  |  1987-12-30  |  5KB  |  120 lines

  1. -----------------
  2. Edit Path Command
  3. -----------------
  4.  
  5. Purpose:  Allows current PATH setting to be modified using the IBM PC
  6.           keypad.
  7.  
  8. Format:   EP
  9.  
  10.  
  11. Remarks:  This command is used to enable the current PATH setting in the
  12.           environment to be easily modified.  When invoked, the current
  13.           path is displayed and the IBM PC keypad may be used to edit the
  14.           PATH setting.  The new PATH setting is stored in the environment
  15.           when the [Enter] key is pressed.  If PATH is null when the [Enter]
  16.           key is pressed, the current PATH is displayed and the program will
  17.           exit.
  18.  
  19.  
  20.           Action of special keys are defined as follows:
  21.  
  22.  
  23.                       [Left] - Move cursor one position to the left unless
  24.                                currently at beginning of PATH string.
  25.  
  26.             [Space], [Right] - Move cursor one position to the right unless
  27.                                currently at end of PATH string.
  28.  
  29.                         [Up] - Move cursor to first line of PATH string.
  30.  
  31.                       [Down] - Move cursor to last line of PATH string.
  32.  
  33.                       [Home] - Move the cursor to the beginning of the PATH
  34.                                string.
  35.  
  36.                        [End] - Move the cursor one position past the end
  37.                                of the PATH string.
  38.  
  39.                        [Tab] - Move cursor to the right until next tab
  40.                                position or end of PATH string is reached.
  41.                                Tabs occur every 8th position.
  42.  
  43.                  [Shift Tab] - Move cursor to the left until previous tab
  44.                                position or beginning of PATH string is
  45.                                reached.
  46.  
  47.               [Control Left] - Move cursor to the left until the previous
  48.                                drive/directory or beginning of PATH string
  49.                                is reached.
  50.  
  51.              [Control Right] - Move cursor to the right until the next
  52.                                drive/directory or end of PATH string is
  53.                                reached.
  54.  
  55.                        [Ins] - Toggle INSERT mode.  Initially INSERT mode
  56.                                is turned OFF.  When INSERT mode is off,
  57.                                each character typed will replace the one
  58.                                at the current character position.  An
  59.                                underline cursor is visible when INSERT
  60.                                mode is OFF.  When INSERT mode is on, each
  61.                                character typed will be inserted at the
  62.                                current character position and any remaining
  63.                                characters will be shifted one position to
  64.                                the right.  A half-block cursor is visible
  65.                                when INSERT mode is ON.
  66.  
  67.                        [Del] - Deletes the character ( if any ) which
  68.                                currently appears directly above the cursor.
  69.                                Any characters to the right of the cursor
  70.                                are shifted left one position.
  71.  
  72.                       [Bksp] - Deletes the character ( if any ) which
  73.                                currently appears to the left of the cursor.
  74.                                All characters from the current cursor
  75.                                position to the end of the PATH string are
  76.                                shifted to the left one position.
  77.  
  78.  
  79.             [[Control] Home] - Deletes all characters which currently appear
  80.                                to the left of the cursor.  Use of the Control
  81.                                shift key is optional.
  82.  
  83.              [[Control] End] - Deletes the character which currently appears
  84.                                above the cursor and all characters to the
  85.                                right of the cursor.  Use of the Control shift
  86.                                key is optional.
  87.  
  88.             [[Control] PgUp] - Deletes an entire Drive/Directory string
  89.                                and any trailing semi-colon.  The string
  90.                                deleted is the one which has one of it's
  91.                                characters directly above the cursor. The
  92.                                deleted string is placed in a paste buffer
  93.                                for recall by the [[Control] PgDn] key.
  94.                                Use of the Control shift key is optional.
  95.  
  96.             [[Control] PgDn] - Paste contents of paste buffer imediately
  97.                                in front of the current Drive/Directory
  98.                                string.  A semi-colon will be added if
  99.                                necessary.  Use of the Control shift key
  100.                                is optional.
  101.  
  102.                        [Esc] - Restore PATH as on entry.  Use after making
  103.                                a mistake to recall the original PATH.
  104.  
  105.                      [Enter] - Store PATH entry and quit program.
  106.  
  107.  
  108.  
  109. Notes:    EP - Version 1.5 - December 30, 1987 - Bill Bovee
  110.  
  111.           o  Includes routines adapted from:
  112.  
  113.              - SPMMLIB.PAS  ( PC TECH Journal, Volume 4, No. 3 )
  114.  
  115.              - SETVAR.C     ( by Dan Lewis )
  116.  
  117.              - BOOSTERS     ( by George F. Smith )
  118.  
  119.  
  120.